<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="cms" uri="http://cms.gxsoft.com/tags-cms"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用人单位信息管理</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<style type="text/css">
<!--
.search{
    border:none;
}
.search th,.search td{
   border:none;
}
.bg_blue{
   background:none;
}
-->
</style>
<body>
<form method="post">
<table class="search" width="80%" height="110"align="center"  class="bordernone">
  <tr>
    <td class="bg_blue" width="100" align="right" >营业执照：</td>
    <td width="140"><input type="text" name="empInfoShopCard" value="${param.empInfoShopCard}"></td>
    <td class="bg_blue" width="117" align="right">单位名称：</td>
    <td width="304"><input type="text" name="empInfoName" value="${param.empInfoName}"></td>
  </tr>
  <tr>
    <td  class="bg_blue" width="100" align="right" >单位类型：</td>
    <td width="140">
    <cms:selectAll dataType="001" name="empInfoUnitType" firstTitle="请选择.." key="${param.empInfoUnitType}"></cms:selectAll>
    </td>
    <td  class="bg_blue" width="117" align="right">法人代表：</td>
    <td width="304"><input type="text" name="empInfoCorporateRepresent" value="${param.empInfoCorporateRepresent}"></td>
  </tr>
  <tr>
    <td class="nohover" colspan="4" align="center"><input class="buttonsearch" type="submit" value="查询">&nbsp;    <input class="buttonreset" type="reset" value="重置" ></td>
  </tr>
</table>
 </form>
<table width="100%" border="1">
  <tr>
    <th width="35">序号</th>
    <th width="70">营业执照</th>
    <th width="280">单位名称</th>
    <th width="70">法人代表</th>
    <th width="70">员工人数</th>
    <th width="70">诚信等级</th>
     <th width="160">操作</th>
  </tr>
  <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <tr <c:if test="${lineInfo.count % 2 == 0}">class="blue"</c:if>>
    <td>${pageNum + lineInfo.count}</td>
    <td>${prod.empInfoShopCard}</td>
    <td><a href="<%=request.getContextPath()%>/EmployerInfo.do?method=detail&eid=${prod.empInfoId}">${prod.empInfoName}</a></td>
    <td>${prod.empInfoCorporateRepresent}</td>
    <td>${prod.empInfoAllWorkNum}</td>
	 <td>${prod.empInfoHonesLevel}</td>
	 <td><input name="button2" type="button" class="buttonmodify" onClick="javascript:if(confirm('确定审批该数据为通过吗？')){javascript:window.location.href='<%=request.getContextPath()%>/ApplyEmployerInfo.do?method=applyPass&eid=${prod.empInfoId}'}" value="通过"/>
    <input class="buttondelete" type="button" onClick="javascript:if(confirm('确定审批该数据为不通过吗？')){window.location.href='<%=request.getContextPath()%>/ApplyEmployerInfo.do?method=applyUnPass&eid=${prod.empInfoId}'}" value="不通过" /></td>
  </tr>
  </c:forEach>
  <tr>
    <td class="nohover" colspan="12" align="center">&nbsp;
    <form name="pageForm" method="post">
    <input type="hidden" name="empInfoShopCard" value="${param.empInfoShopCard}"/>
    <input type="hidden" name="empInfoName" value="${param.empInfoName}"/>
    <input type="hidden" name="empInfoUnitType" value="${param.empInfoUnitType}"/>
    <input type="hidden" name="empInfoCorporateRepresent" value="${param.empInfoCorporateRepresent}"/>
    <c:out value="${foot}" escapeXml="false"/>
    </form>
    </td>
  </tr>
</table>
</body>
</html>
